package fr.umlv.m2.jee.portailEtudiant.web.action;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by IntelliJ IDEA.
 * User: soufiane
 * Date: 23/03/11
 * Time: 02:06
 * To change this template use File | Settings | File Templates.
 */
public class WelcomeAction extends ActionSupport {

    private final Log log = LogFactory.getLog(WelcomeAction.class);

    /**
     * Welcome action.
     */
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                                 HttpServletRequest request, HttpServletResponse response) {

        return mapping.findForward("AllTds");
    }
}
